package com.njtoyo.taxi.admin.rest.wrapper.platform.sensitive;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SensitiveShowWrapper {
    @ApiModelProperty(value = "开关")
    @NotNull(message = "开关不能为空")
    private Boolean showLoading;

    @ApiModelProperty(value = "版本")
    private String version;


    public void setVersion(String version) {
        this.version = "v3";
    }
}
